<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</meta>
<title>F().css演示</title>
<script type="text/javascript" src="../../1st.js"></script>
</head>
<body>
<div id="box">testbox</div>

<script type="text/javascript">
//F("box").css("width","100px").css("height","50px").css("backgroundColor","red").css("color","blue"); //用法一
F("box").css("width:100px; height:50px; font-weight:bold; background-color:red; color:blue;"); //用法二
//F("box").css({width:"100px", height:"50px", fontWeight:"bold", backgroundColor:"red", color:"blue"}); //用法三
alert(F("box").css("width"));//用法四
</script>
</body>
</html>